package com.mushuroom.live.feign;

import com.mushroom_street.product.dto.ProductDto;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 *
 */
@FeignClient(value = "mogu-product")
public interface ProductService {
    @GetMapping(value = "product/products/{id}")
    ProductDto loadProductById(@PathVariable String id);

}
